﻿using System;
using UnityEngine;
using UnityEngine.Networking;

public class StartOfflineModeOnStart : MonoBehaviour
{
    public bool test;

    private void Start()
    {
        if (this.test)
        {
            NetworkManager.singleton.StartClient();
        }
        else
        {
            NetworkUtility.StartHost();
        }
    }
}

